<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<%
	String path = request.getContextPath();
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>

	<body style="background-color:teal">
	<center>
		<h3>
			<font color="red">用户登录</font>
		</h3>
		<s:form action="userService">
			<s:textfield name="user.username" label="用户名"></s:textfield>
			<s:password name="user.password" label="密码"></s:password>
			<s:submit method="login" value="登 录"></s:submit>
			<br />
			<s:a href="/hotel/adminLogin.jsp">管理员登录</s:a>
			<s:a href="/hotel/register.jsp">新用户注册</s:a>
			<br />
			<br />
			<br />
		</s:form>
		</center>
	</body>
</html>
